<?php namespace Common\Model;
use Hdphp\Model\Model;
class Gdetail extends Model{
	protected $table = 'gdetail';
	
	public function store($data){
		if($this->add($data)){
			return true;
		}else{
			return false;
		}
	}
	
//	修改
	public function edit($data){
		$this->save($data);
		return true;
	}
}
 ?>